package cn.coldleaf.wiki.mappers;

import cn.coldleaf.wiki.pojo.dto.DocQueryDto;
import cn.coldleaf.wiki.pojo.entity.DocEntity;
import cn.coldleaf.wiki.pojo.vo.DocListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DocMapper extends BaseMapper<DocEntity> {
    /**
     * 文档查询
     * @datetime 2023-10-20 12:23:25
     * @user cold
     **/
    Page<DocListVo> search(Page<DocListVo> page, DocQueryDto dto);
}
